package com.kfm.demo.regmodel;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class RegisterController {

    @GetMapping("register")
    public ModelAndView register()
    {
        return new ModelAndView("reg");
    }
    @GetMapping("agreement")
    public ModelAndView agreement()
    {
        return new ModelAndView("agreement");
    }



}
